<template>
  <div class="stat-icon" @click="$emit('click')"><ri :i="i"></ri>{{value}}</div>
</template>

<script>
export default {
  props: ["i", "value"]
}
</script>

<style lang="stylus">
.stat-icon
  display inline-block
  padding 0 4px
  border-radius 4px
  cursor pointer

  &:hover
    background-color #eee

</style>